<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<load href="__PUBLIC__/Css/css.css" />
<title>用户管理</title>
</head>

<body>
<div id="content">
	<ul>
	<foreach name='arr' item='data'>
	<if condition="$data['limit'] neq 1">

	<li>
	  		<div class="ct">
				<div class="ct-top" style="margin-bottom:1px;padding-bottom:10px;">
					<h3>用户名:</h3>
					<p class="p1">{$data.username}</p>
					<h3>等&nbsp;&nbsp;&nbsp;级:</h3>
					<p class="p1">
					<if condition="$data['exper'] lt 500">
							<if condition="$exper lt 200">
							初级用户
							<else/>
							中级用户
							</if>
					<else/>高级用户
					</if>
					</p>	
					
				</div>
				<div class="ct-top" style="margin-bottom:5px;padding-bottom:10px;">
					<h3>经验值:</h3>
					<p class="p1">{$data.exper}</p>
					<h3>权&nbsp;&nbsp;&nbsp;限:</h3>
					<p class="p1">
					<if condition="$data['limit'] eq 0">
						初级权限
					</if>
					<if condition="$data['limit'] eq 1">
						高级权限
					</if>
					<if condition="$data['limit'] eq 2">
						中级权限
					</if>
					</p>				
				</div>
				
				
				<div class="ct-bt">

				<a href="__URL__/delete/uid/{$data.id}" class="bt">删除</a>
				<if condition="$data['status'] neq 1">
				<a href="__URL__/power?uid={$data.id}" class="bt">封号</a>
				<else/><a href="__URL__/delpower?uid={$data.id}" class="bt">解封</a>
					</if>
				<a href="__URL__/updatelimit?uid={$data.id}" class="bt">修改权限</a>
				</div>	

				
			</div>
		</li>

	</if>
	</foreach>
	<center>{$show}</center>

	</ul>
	
	

</div>

</body>
</html>
